import { configureStore } from '@reduxjs/toolkit'
// 导入子模块reducer
import counterReducer from './modules/counterStore'
import { channelInfo } from './modules/channelStore'
import { cartInfo } from './modules/cartStore'

const store = configureStore({
    reducer: {
        counter: counterReducer,
        channelInfo,
        cartInfo,
    },
})

export default store
